Minor bug in search filter method.