Fix configuration port being ignored (because of 0 being different from false)