Fix the limitation of site registration.
Add default of 1, switch from OR to AND
use >=, not > for user over limit check #3271
cast to int to avoid false positive, add comments #3271
Merge pull request #3304 from openscholar/3271

Fix the limitation of site registration.