Clear selection after refresh

TODO
Fix broken selection indexes after sort