fixed re-calculation of container similarities