Woohoo, fix parent_prefix

This has now officially entered the stage of silly as #206 has been the
most reopened and closed bug in history. This fixes it though - really!

Relates to good ol' #206.
Fixes #287
Merge branch 'parent_prefix-fix'