Added spec for index filter