A system includes a valve subassembly configured to be disposed along an internal flowline exit of a first internal flowline within a downhole drilling module. The valve subassembly includes an active valve configured to regulate flow of a fluid through the internal flowline exit and a passive valve configured to be passively controlled based on a differential pressure between a first volume of the downhole drilling module and a second volume surrounding the downhole drilling module.