Fixes an issue where deselecting an account did not work.