Fix comparison of relativedeltas (min/max value)

One more case where relativedeltas were compared directly