Don't put null references into database. Instead store as ""