I have the following code, I would like that if the condition is met it returns an empty object. I could not put as a condition in finding because I want it to be applied automa