Fixes issue with "null" being displayed in drop down

All the code checks for presence, but the db stores the string “null”.

For backwards compatibility, the fix could be to update all the checks
to ensure that “null” is considered a blank string essentially, but for
our project adding this for the first time we decided to just store nil
in the database as the proper solution.