corrects the E_NOTICE error if $_results is empty