Fix compiler error in filter_indices.h

This pull request fixes #426. See the discussion there for details.