Fixed bug where search controller didn't have events attached