Fixed parsing of units with exponents