Fixing selections when nothing found in database