Improved the attributed query to accepted things of multiple scopes
Still working on getting the uri prepended