[-] MO : fixed a few SQL queries in statscatalog