fix prepareOrder so that it doesn't show orders that are in delievery