Fixed wrong detID for bending layers.