rewrote reporting queries due to schema changes.
rewrote reporting queries due to schema changes.

thecoolestguy/ilios,justinchu17/ilios,thecoolestguy/ilios,dartajax/ilios,justinchu17/ilios,Trott/ilios,ilios/ilios,justinchu17/ilios,stopfstedt/ilios,stopfstedt/ilios,ilios/ilios,dartajax/ilios,Trott/ilios,justinchu17/ilios