Fixed issue with returning a reference to a temporary variable.