Fixed delete in DB entity