More specific filter

More specific filter for is_index function.