fixing customer definition for historical order listing