Like indexOf but looks at surrounding items