Prevent empty items from being sent to the db