check we have a range to compare against
Added list of types and constraints
Tweak name of range message type