Fix broken display in subsearch where empty files appear