Removed isset() check so that null values can be saved to the DB