Fixed incorrect variable names, not quite sure how tests were passing.