Small fix for undefined index notice.