Added code to preserve POI ids and prevent POIs with photopoints from being deleted on the edit site page.