Fix generation of childfilter for BOM relationships