fix index issue with filters