Fixed a bug matching old deprecated search