Fix for bug 986981

Signed-off-by: achbed <github@achbed.org>