Fix a bug in the previous commit.