check for empty statslist in getkeyvals()