I notice that this happens a lot, and it's rather annoying. When you doubleclick something on the object tree, let's say "client", it takes you to the first place "client" is found, but the problem is, this is usually in a library. Could it be set up to check the primary included files first? Also, this sometimes happens:
Double-click "client", and get relocated to...
view = 5