Fixed query parameters & mosaic

Mosaic now has no weight of terms, so more realistic compared to the
pie. Also Query parameters are functional even if we have empty
categories.