fix #200. Select query shouldn't fail if time was among the selected columns