SFD-20

Fixed up if statement.