Remove duplicated code.
Warn that all images from a MIF must be selected.