Fix add of KML layer in permalink