dsc-389-3

Fixes issue where bibId and parentId behaviour was not consistant.

Please ignore the formatting as I'll issue another pull request to move all the tabs to spaces.