added filtering to auto search