fix find with nested include

You might want to pick this one apart a little bit more. I basically just copied this section back from the abstract dialect with the exception of keeping SELECT TOP(1) (instead of LIMIT 1). It fixes the test though, and bring the code one step closer to the abstract dialect