fixed an issue processing stop features when there is only one feature.