adjusted quick search to work correctly in all tabs