fix #3379 check if _currentIndex in items when validate