Fixed incorrect variable name for integer cases.