Check time restriction is actually a range (don't allow "time < y and z > time")