Fix for exponents

Positive exponents stopped working after the last update due to a stupid mistake.