Handle neighboring base quality calculation for regions with no quality scores. Thanks to Zhengqiu Cai