Fix upgrade problem from 5.5.x to 5.6.x

Detail: http://www.concrete5.org/developers/bugs/5-6-3-1/upgrade-from-5.5.2.1-to-5.6.3.1-fails-if-any-blocks-exists-which/