Query wasn't being advanced after matching.
Query wasn't being advanced after matching.

This is a fix to the previous two commits.  There are still some
issues with queries that contain private tags, because private tags
might not occur int the same order in the query as they do in the
data set.

hendradarwin/vtk-dicom,dgobbi/vtk-dicom,dgobbi/vtk-dicom,hendradarwin/vtk-dicom,hendradarwin/vtk-dicom,dgobbi/vtk-dicom