Fix mistake, need to check absolute value, so we allow negatives through, fix for pull# 525

Fix mistake introduced in pull# 525