Additional check to preserve working code with disabled assert() calls.