Results 1 issues of Luke Andrew

Also fixed an exception I was getting when running this with empty tables. Let me know if you'd rather have this split out into individual branches for each feature.