Fixed bug introduced by previous commit.