Fix suffix matching index problem.

Currently "<name:suffix>" always produces an "invalid URI" exception for any URI pattern with more than one component because the index variable is never incremented. This fixes that.