fixed typo

Fixed the code for this condition, causing wrong result in the original version.