Adjusted code to new getAll(). (refs #323)