Changed the way the scheduler checks for the next post

For instance, if for some reason the next post number after, say, 15,
is 17 instead of 16 (if one is missing), it will get 17 instead of 16.
gravity forms update