Update prune_prefixes for bastard settings