Solves bug 'no results' bug.