Fixed zero tags, new tag algorithm (prefer ones with more tags)