Issue #1998658 by larowlan: Fixed Creating Custom Block with same name as existing block throws SQL error.