Fixed RunTimeWarning with naive dates