Swap this with the `nullAllowed` assignment so that all the range related stuff is together