Fix for process delivery page errors. Also changed query to only retrieve orders that don't yet have a delivery date set.
Merge branch 'master' of https://github.com/gminaker/databases