Bug: Fixed warning message on undefined index
