Fixed a bug in the last bug fix.