Made changes to allow deletion and of Orders when using the Database
libraries