DB/Misc: Put right fieldnae in delete clause which was causing error on apply