Fixed a bug in filtering group accounts