Fixed inling bug (hopefully) by treating mutual recursion seperately.