Update MapSovereignty.php

Moved BaseApi::setDbCache($scope, $api, $sovereignty->cached_until); outside of foreach loop