Fix bug ignoring import statements.
Fix bug jumping straight to definition while ignoring import stmt.