Add option to find all matching records rather than just the first one.