Fix a small toggle test bug introduced in last commit.