corrects MethodDefinitionQuestion's handling of incorrect input