Don't try to remove nonexistent (nil) joints from a structure