Fixed up (speed improvement) SQL queries for count_multi() and all other UNION based multi gets.