Remove unnecessary join