Bug 900405 - Fix an incorrect assertion and missing check for minor GC; r=billm