Fix StackOverflow.

Signed-off-by: Mike Howe <dockter@almuramc.com>