Fixed some bugs with anonymization, no works properly again

Signed-off-by: Ken Barber <ken@bob.sh>