issue #1127 needed additional fixup for error uncovered by nosetests