Naive datetime bug fixed.