Fix variable names in asserts.