Fixed refresh issue where detail containers used to get removed