Fix to clear previous items from database dropdown