properly handle null values through the validation handler before they hit the database