Repairs return type errors in the SQLQueryLoader class.