Post date not updating properly.

Hi John

The code that tries to update the post date stored in the database doesn't work, as it's using the wrong field to identify the record to update.

This is for v2014012409.

Cheers, Michael