Fixes bug 322

Signed-off-by: Michel Verbraak <michel@1st-setup.nl>