Fixed bug where searching was not working on certain activities