Fix keyerror selections on reinstall