Fix for --cores argument validation

The > 0 test was going the wrong way.