Fixed when running on 1.8.7

Signed-off-by: Bert Hajee <hajee@moretIA.com>