Only add valid transforms from the MHA file to the buffer.