Adding ToQuery instance for List1