improve useability by clearing .selected css before executing query