Fix output messages prereq filtering.