Fixed #28 -- findLeaf() does not work on tables
This brings to the front other issues though.