Add null check to fromExpression
(for future use in ConfNodes)