Fixed concurrency problem with dbcure.