Fix stupid tail recursion bug. Duh!