Added check for no results