Fixes bug 240, could not find previous error that was mentioned in bug details.