Fix for unwrapped casper assertions