OAK-1570 commented out no longer findPrevious() for later code clean-up
OAK-1570 improved version of pruning. WIP.
OAK-1570 finalised the pruning.
OAK-1570 house-keeping. Deleting no longer used code.