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.