Improve checking to update published at datetime.

Signed-off-by: crynobone <crynobone@gmail.com>