FIxing inverted condition.
Update.