build_union param fix for arel.union call