avoid inclusion of layers whithout shortid (typically tools' temporary layers) in url