solving greenings double cql filter bug