Ensure exponentiated numbers are parsed correctly