Fix bug introduced by last commit

accounts view was crashing if use selected active, inactive, and
organizations. Fixed with this update.