Fix index pattern not working without parameters