Fixed bug for condition_era treemap on Sql Server.