Update Arel visitor to be compatible with arel 6.0.0