Adding explicit index to $matches