What when a given word seems to match a given pattern but one clearly sees, after accurate examination, that it does not?

Let us take word להתחיל. It seems to fit ptr PI-d050.

But as it is preceded by preposition ל, this means that it cannot be a Past form. It will rather be an Infinitive form.

Look at word number 479 in the training article below.