Bugfixes on action bar search functionality.