This problem happens when grant numbers are assigned and the operation is cancelled.
There is an easy way to fix the issue.
Go to Tools > System Utilities > Set Automatic Numbers
Grant Number is already selected. On the right, type in a grant number that is one larger than the Last Grant Number Used value and click Done.