Fixed NOTICE when the dictionary is indexed with an undefined index