Fixed the negative assertion issue