shouldError needs to check actual variable names, not just length of errors