Fix listAccountsCmd logic to be consistent with new interpretation of
listAll, isRecursive and domainId parameters.
Fix findBugs bug.