Bug where item is not getting deselected.