Bug: duplicate keys cause an extra element to render, while the console shows the correct number of items