Added IsNull check to ModificationCommand to prevent DBNull propagation