Added commit to delete query