Diaphragm seal for homogenizer