fix to prevent that queries like 'ca??' match a term like 'cat'. Terms with the correct length should be returned only. See Bug#LUCENE-306