planning: add ref_s range check to avoid un-necessary error msg.
planning: add ref_s range check to avoid un-necessary error msg.

msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo