Rewrite SQL to retrieve recent accounts
Merge pull request #205 from fefe982/dev-recent

Rewrite SQL to retrieve recent accounts