Made sqlite fetch lower down the hierarchy