Simplify a little bit the queries that fetch insights based on their catetory
Ref #423 (closed)
It removes an unneeded union and relies on a left join with ifnull instead.
More simplification is possible on it, but that's enough for the moment.
Edited by Leandro Santiago