I think that, to better understand, you should start reading this post
There’s a few link and a few other post that will also help to achieve and understand how to solve this. This is more complicated than just add a condition in your case
I think that, to better understand, you should start reading this post
There’s a few link and a few other post that will also help to achieve and understand how to solve this. This is more complicated than just add a condition in your case