Fix app/reports/base_production_report.rb consortium_by_status_sql.
Merge branch 'master' into new_readonly_table