Fixed concurrency bug. Database recreation needed.