bug fix on wildcard result
Revert "bug fix on wildcard result"

This reverts commit 2b71793ad3e1b6b676f53f74a7bf646aeba817e4.

Although the bug this commit was trying to fix is real, the fix is
wrong.

It is certainly true that "foo" ends with "foo", but with that commit
unreverted it wouldn't be any more.
Don't return 1-length code candidates on wildcard

When the user enters e.g "d*d", we were returning the candidates
associated to the "d" key, because "d" starts with "d" and ends with
"d".

This is wrong, we need to check that the length of the code is at least
the sum of the lengths of the user inputs.