fixed: findNearestOpenStatementBlock returns wrong position for symbols declared in a module in the same file as the unresolved symbol