Fixed important speed problem in completion engine (the engine tried
to reparse the whole file when it's not needed).