Fixed #6 (detect SELECT/CONSTRUCT queries)