Fix if statement for argument count

Otherwise you would have to provide a second "fake" argument to properly
set the desired port range.