Small null object check bug fix (NPE)
WOW, What a massive bug! Apparently in PHP if you unset an array index in a for loop, it doesn't truncate the array afterwards. So if you unset array[0] then the first element stays array[1] for the rest of the reference to that array.
So to fix this the indexes have been changed from for loop integer indexes to foreach key => value indexes using the key. That way no matter what the index is, it will still be correct. Because this bug was in the auction workflow code, an immediate patch to production servers is mandatory. This workflow code was introduced in version 1.4 and did not exist in prior versions.