Fixed a bug with recursive functions