BUGFIX: better check if upgrades of previous versions have been done


git-svn-id: http://sunny.svnrepository.com/svn/sunny-side-up-general/upgrade_silverstripe/trunk@5157 7b40dde9-fc51-43d4-b609-63a66f0a0cee