I suspect you're missing some indexes here.