minor change to SQL ratings sessions