Fix bug where we weren't limiting to last 20 changes
Indentation only
Extract method
Also order records coming out of the database so we get the latest