Fixed!  Had to split a try block into two, as incrementLogins failed, and then database.getRecent didn't executed.  Now passes unit tests.
Removed noinspection comment.