Fixed check for basemap layers in web maps