Issue #2375215: Fix logic.