Ensure query paths are absolute