That's not the definition of an uncontained failure.
The definition of an uncontained failure is high energy debris exiting tangential to the engine (within a few degrees).
Bits coming out the front or back, or the inlet/nacelle falling off, is not considered an uncontained failure. That being said, large bits of the inlet and nacelle coming off is a big no-no since it can do damage to the tail surfaces or to people/structures on the ground.