Fixed a regression caused by the previous commit.