Fix incorrect prune call.