Issue 20040: Fixed problem with order date