Fix a really bad bug.