Fixed issue #61.

Signed-off-by: Wessel van der Veen <wesselvanderveen@gmail.com>