Attempting to fix bug I attempted to fix before
Attempting to fix unwanted behavior in in order 'edit' function