Fix to display error message properly when there are no delivery dates needing to be set