Fix broken exclude support