Fixed bad nesting of langauges. Closes #1.