Fixed da bug where search wouldn't work