I would change

END processEntityDeletions;

in

END ; -- processEntityDeletions