diff --git a/src/partition.c b/src/partition.c
index a1760b6f1de5e08b4ce5974e272ce0b3252fdeb7..e216e12a5a23457b39b53070de3d84a2f257b927 100644
--- a/src/partition.c
+++ b/src/partition.c
@@ -455,7 +455,8 @@ static void repart_edge_metis(int partweights, int bothweights, int nodeID,
     /* Skip un-interesting tasks. */
     if (t->type != task_type_self && t->type != task_type_pair &&
         t->type != task_type_sub_self && t->type != task_type_sub_self &&
-        t->type != task_type_kick && t->type != task_type_init)
+        t->type != task_type_ghost && t->type != task_type_kick &&
+        t->type != task_type_init)
       continue;
 
     /* Get the task weight. This can be slightly negative on multiple board