Fixed an issue with mixed type searches