Add not empty containerBlockTypes condition 

Made a sql error when I try to modify a block gallery when no type is specified. The not empty condition solved this issue.
Merge pull request #351 from Sinjonathan/patch-1

Add not empty containerBlockTypes condition
Merge remote-tracking branch 'sonata-project/master'