Fixed another small template bug where the in-operator was used.
(instead of indexOf)