Fix #0017605: Regression issue with upgrade step 184

Background and comments / rational on this commit are in http://www.mantisbt.org/bugs/view.php?id=17605.
not sure what you mean?