Bug fix, previous version crashed on no results