#123: fixed inverted assert