Got bug 381 fixed. Needs testing.

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