Blitz listParents() query fix

This fixes a tiny error from 85ccaabd.
To test, simply choose an Image (in Project & Dataset), click the link button in right panel toolbar, copy link and test the link works.