Adding filtering on index by last_painted_date