oneToNull
is a utility function that returns NULL when a value of
0 or 1 is passed to it, otherwise it returns the original value.
oneToNULL(value, convertOneToNULL)
The value to check.
TRUE to convert 1 to NULL.
NULL if value is 0 or 1, otherwise value.