Fix delete key not functioning correctly in library search textbox