Fix mass deletion quirks, including test failing due to unicode issues.

Yeah, we've disallowed the creation of new numeric IDs for a while, since they break pages which allow both slugs and numeric IDs for legacy reasons. There are still a bunch of old ones in the DB, though, and a lot of them are spammers.