filter account entries by account ids