Fixed toggle comment sometimes used incorrect selection (fixes #41).