Hack for ctid join