GetNextTargetRequired Fork

Active on July 4, 2014. Will fix possible negative target value.