fix handling of display when no results match query