Updated SelectQueryToObject