Workflows and Holding Pen fixes

* Fixes an issue while visiting a detailed object page in Holding Pen with a direct link.
* Checks the task_counter argument a bit while saving objects (for those hard-core admins out there :-) )