Fixed issue with date/price call that was attempting to sort the array when there is only one entry in the array