South West man released from custody after a ‘data entry error’ saw him spend a week in jail without cause