Fixed incorrect join to select Data Query