Fix error checking on comment return value.