Started refactoring the access rights on branches to make the query logic simpler, and allow for a more robust and understandable set of permissions.  There is no longer a union.