Fix percent symbols

Better handling for null case -- simple test case is:

    print (100 % 3)