fix fetch depth

fix for https://github.com/jackalope/jackalope-doctrine-dbal/issues/189

not sure if ``getNodes()`` also needs to be adjusted