I'm trying to accomplish the same thing you're doing but instead of deleting them, I'm just disabling the user. We are on 9.0.1 lsf. Hopefully I'm not asking for too much but can you share your pf script for me to get a startup?
Thanks,
Neng