CRA-719 Fixed bug in Sgri resampling introduced with resampling fix.