Fix a thinko introduced in c852d95

When checking for lookup type in feature block, stop at feature limit
not a non-existing lookup limit; I blindly copy pasted that block of
code. This was causing all features to be of multiple substitution type
if one of them has a multiple substitution.
Merge pull request #560 from JoesCat/master

A Thinko