Fix post date setting update.

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 identity the record to update.

This is for v2014012409.

Cheers, Michael