Fixing return value of indexOf