Fix checking recursion to not expand by default