PR18229: Fix typo in assert condition.