Fix the Preservation Action Plan submission code.
A little bit better error reporting