Changed time constraints so that users cannot delete orders outside of the time range.