Fixed stack operations during trace execution

Some stack operations were not being traced