Fixes #122

Adds recursion to navigate the sql nodes in the query for  a language code, instead of using a fixed depth approach.
This could possibly fix #119