Check nulls for registering

Check nulls for registering, just in case front end fails to validate.