Changed 'ToDynamic' - check values for null.