remove distinct if an empty result is expected as Oracle does not accept the combination of DISTINCT and missing variable bindings (#21)