Fixing a bug that Jane Johnson found. Thanks Jane!