Fixes caminari total_count issue