Improve query for playerlog