fix related lookup when called with empty string as object_id, fixed #272