Issue #969074 by chx: Added ability to configure order of userpoints_nodeaccess elements and fixed a number of bugs.