Fix a couple of E_NOTICE errors on missing array indices

Ran into these errors doing Artax testing.