add check range in AnyGroupedUnitInObjectRangeCheck

Signed-off-by: dr.skull <dr.skull@centrum.sk>