Fix total_records in filtered visualization collections