Location rule: Update 'User type' rule to allow for custom roles

Signed-off-by: Elliot Condon <e@elliotcondon.com>
Update to core _functions.php to prevent possible error when loading a field which doesn't exist

Signed-off-by: Elliot Condon <e@elliotcondon.com>