Fix segfault on reshuffling one item