Fixed a comparison bug introduced in the previous commit.