I am having an issue with the following IF statement.
When it finds results on either of the two conditions it works great and returns the results using the for each