fixed setting of itemsCount for filtered list