it's a bit daft to log not valid but then print isValid -> remove the negation from the stringy portion
mentioned in commit e2143fa5