Uh, removed duplicate exception type

I don't understand how I could have missed this in my previous commit
where I added the new exception.

Part of #206
Fix value check for parent_prefix

We check if it's an integer.. not a prefix, because it shouldn't be a
prefix! ;)

Part of #206