Another issue is substring matching. You'll need to update this to somehow not match longer numbers.

E.g. `14047` would be matched by `4047`.