DQL union query—strange behaviour

Figured out that this behaviour was due to the presence of @cascade