Fixed a bug where nested let-bound functions were treated as a function named "let"

Signed-off-by: Richard Minerich <richard.minerich@gmail.com>