Resolves Undefined index notice
Resolve undefined notices for category items