Fix in LayerId calculation for SolrRecord