Update of getPreferredSGP to fix YEAR_WITHIN
bug fix from previous commit
Merge pull request #380 from dbetebenner/master

Update to getPreferredSGP to include YEAR_WITHIN