Fixed the order of the arguments for the retreiveSQLSelectResults() in the SQLProvider