Shortest path query problem

This issue seems to be relevant as it describes a specific case of my issue, but the thread suggests that it was fixed…