fixed half close range operators (since Xcode b3, got renamed to ..<) but want to keep Xcode b2 compatibility, so tweaked logic