Fixed a bug in game_avatar, which caused problem when the query_score was 600 and raises  IndexError if seq is empty

Conflicts:
	applications/rmiyc_project/populate_test_db.py