OC-4563 Restoring CRF version doesn't bring back removed data

Implemented 2 fixes.
1. Values of repeating group items are not displayed 
2. When the CRF version is restored the status is reset
Steve,
There's a duplication of the above code on line 119 too. The same set of code is repeated twice.
This was the real cause. Once it enters the 'status.auto_deleted' loop, it changes the status back to 'available'.
Which means , it will not enter the second loop. And in the second sub loop is where it will change item statuses into available .By commenting out the first set of code , it solved the problem of changing the deleted items statuses into available status.