Fix bug in JError::$legacy check