Use correct comparison operators