Remove leftover mDefinitionValid, fix incorrect predefined right error message