Spaces in uris were not encoded correctly causing issues in the medialibrary with strings not considered equal.