Trim Function not working properly

I am having a problem with the trim function on some of my files. Even though the nodes show that the object was trimmed, it appears solid in print.  This does not happen consistently, so I can't make this error happen at will.  Any suggestions or fixes?