[FIX] Fixing error code in asertion.