Fixing issues with shared field mode, updating search query to use new AWS format, updating perms