fix logical expressions in config

ref #3
test for max_users=0