Check typeof Closes #2811.
Cancel based on post_modified, so that checkout (when resuming an order) prevents them being cancelled. Closes #2814.
Version bumpage