[BUG #7811] fix condition which evaluates by default to false