Fixes bug when user has zero accounts