Fixed FOLD semantics

It wasn't removing the value from the stack (it needs to)