Improve functionality of language filtering in tags and tag layouts.