For uneven releases there might be problem with comparison.
E.g. Compare '1.0-1.el7_6', '1.0-1.1.el7_6'
Check with rpmdev-vercmp:
rpmdev-vercmp 1.0-1.el7_6 1.0-1.1.el7_6
1.0-1.el7_6 < 1.0-1.1.el7_6
This should be fixed so comparison works correctly for these kinds of release strings.