Fixed a bug with the hard coded conditions in the reporting engine