Fix error when edit request is made for invalid POI id