Fix for issue #228. Thanks @vertigo7x.