Fixed grammar file resolution for child media libraries