Fix PREFIX misparse (closes #854).

Not skipping the leading '(' when splitting on the ')' always makes the modes
list longer than the prefix list, which leads to an incorrect null return value.
Merge pull request #11 from RavuAlHemio/bug/#854_prefix_misparse