Fix invalid input for third argument of kernelULong and kernelLong case.
Merge pull request #99 from junmin-zhu/input

agree