SERVER-12449 check correct container's .end()