Avoid using FOR ALL ENTRIES IN without emptiness check | CAST Appmarq