Fixes a shoreline issue when there are no published layers