Incorrect detection of recursive functions with lambda expressions,
fixes #245