[composer] Don't consider removed items in z list