Fixed error with deletedBy field update on entity persist