Only check the matter content against the cosmology if both cosmology and self gravity are activated.