filters: fixed the order of indices