Fix issue running migrations

I was trying to upgrade from v1 to v2 - when I ran the migrations all the editable elements in my pages were deleted. This LOC fixes this issue.