Correct variable names for deleting models.
Fix newly-created models not showing privileged links.