This needs an isset test, otherwise we'll get lots of warnings/notices about missing array keys.