Fix related resource lookup