Fix performance problem with writing Layers to GeoRSS feeds due to Project.getId() being really slow.