Fixed bug with MAX handling
Merge branch 'master' of github.com:dergachev/content_migrate_tweaks