if filteredResults != null... use it, fixes #3080