Ensure event only gets triggered when results length is 0