Swap sets 1 and 2.

The previous implementation did not take into account
that the min/max are required to determine the
rendering settings.
Review import sequence.
Merge pull request #676 from jburel/thumbnails-import

Thumbnails import