Slight fix for r47781: remove useless if($index) conditional: $index is always set...