Clean up double join.