Fix bug where :not(.is-active) would fail.