Bugfixes from testing postjob.