Two things

Fixed a mistake linking the wrong field in the TransFiles table to the
ChildFiles table.

Also, added another field to both aforementioned tables that will allow
filtering on revision history.