Fixed bug Issue #1602

Sorry, I am a bit of a newbie here, not sure if I followed the correct procedure. Please indicate if I should have done something differently (Somehow the github help page on pull request is currently unavailable). The changes in the 'files changed' tab seem to be okay though. 

Cheers,
Bastiaan