Fix for issue #202. Forgotten debug statement. Thanks @brainwelch