Added some checking to make sure diameter and notes exist before putting into database