Fixed inf loop on recursive curry inlining, mattbierner/khepri#97