Changed how filtering works.
Added passing indeces to filter functions.