Fix for issue 217 - Tighten the scope of the on click event for the "show parents" buttons

Same for "statistics" buttons

As filter buttons are now within the table the on click event for them can also be parented on the table