Handles case when no result is returned