Fixed delete query in bStore.