Fixed bug for display of pit data in edit view.