Fixed prefix container safety net

As a safety net in the prefix list, making sure prefixes are not placed
outside the top level prefix container, was suddently needed it
was shown that it did not work. This commit adresses the issue.
Merge branch 'prefix_list_safety_net'