Fixed SRDA data collection code to correctly handle various combinations of Project ID range specification and WHERE clause contents.