[bug fix][range query] fix bug with boost missing