Fixing assert code.