Fixed bug when filtering using a LabelInterval and the dataset is SQL type.