added a pre search filter validation