Fixing order notes date

Suggested fix for #5823