Temp fix for Arel production different SQL outputs.