Fix bug in delete policy due to change