ISPN-4396 DSL Query: right condition lost (reopened)

https://issues.jboss.org/browse/ISPN-4396