fixed small bug in player_stats query