anchor.diff:  	end.
   %% @hidden
   start10() ->
  -	Tables = [session, nrf_session],
  +	Tables = [session, nrf_ref],
   	start11(Tables, mnesia:wait_for_tables(Tables, ?WAITFORTABLES)).
   %% @hidden
   start11(_Tables, ok) ->
   	start12();
   start11(_Tables, {timeout, BadTables}) ->
  -	case create_tables(BadTables) of
  +	F = fun F([Table | T]) ->
  +				case create_table(Table, mnesia:system_info(db_nodes)) of
  +					ok ->
  +						F(T);
  +					{error, Reason} ->
  +						{error, Reason}
  +				end;
  +			F([]) ->
  +				ok
  +	end,
  +	case F(BadTables) of
   		ok ->
   			start12();
   		{error, Reason} ->
   			{error, Reason}
  -	end.
  +	end;
   start11(Tables, {error, Reason}) ->
   	error_logger:error_report(["Failed to load mnesia tables",
   			{tables, Tables}, {reason, Reason}, {module, ?MODULE}]),
  
positive.code: create_table1(Table, {aborted, {already_exists, Table}}) ->
  	error_logger:info_msg("Found existing ~w table.~n", [Table]),
  	ok;
  create_table1(Table, {aborted, {not_active, _, Node} = Reason}) ->
  	error_logger:error_report(["Mnesia not started on node", {node, Node}]),
  	{error, Reason};
  create_table1(Table, {aborted, Reason}) ->
  	error_logger:error_report([mnesia:error_description(Reason), {error, Reason}]),
  	{error, Reason}.
  
  
negative.code: %% @doc Create mnesia table.
  %% @private
  create_table(client, Nodes) when is_list(Nodes) ->
  	create_table1(client, mnesia:create_table(client, [{disc_copies, Nodes},
  			{attributes, record_info(fields, client)},
  			{index, [#client.identifier]}]));
  create_table(service, Nodes) when is_list(Nodes) ->
  	create_table1(service, mnesia:create_table(service, [{disc_copies, Nodes},
  			{attributes, record_info(fields, service)}]));
  create_table(product, Nodes) when is_list(Nodes) ->
  	create_table1(product, mnesia:create_table(product, [{disc_copies, Nodes},
  			{attributes, record_info(fields, product)}]));
  create_table(resource, Nodes) when is_list(Nodes) ->
  	create_table1(resource, mnesia:create_table(resource, [{disc_copies, Nodes},
  			{attributes, record_info(fields, resource)}]));
  create_table(offer, Nodes) when is_list(Nodes) ->
  	create_table1(offer, mnesia:create_table(offer, [{disc_copies, Nodes},
  			{attributes, record_info(fields, offer)}]));
  create_table(bucket, Nodes) when is_list(Nodes) ->
  	create_table1(bucket, mnesia:create_table(bucket, [{disc_copies, Nodes},
  			{attributes, record_info(fields, bucket)}]));
  create_table(httpd_user, Nodes) when is_list(Nodes) ->
  	create_table1(httpd_user, mnesia:create_table(httpd_user, [{type, bag},
  			{disc_copies, Nodes}, {attributes, record_info(fields, httpd_user)}]));
  create_table(httpd_group, Nodes) when is_list(Nodes) ->
  	create_table1(httpd_group, mnesia:create_table(httpd_group,
  			[{type, bag}, {disc_copies, Nodes},
  			{attributes, record_info(fields, httpd_group)}]));
  create_table(session, Nodes) ->
  	create_table1(session, mnesia:create_table(session, [{ram_copies, Nodes},
  			{attributes, record_info(fields, session)},
  			{index, [#session.imsi]}]));
  create_table(nrf_ref, Nodes) ->
  	create_table1(nrf_ref, mnesia:create_table(nrf_ref, [{ram_copies, Nodes},
  			{attributes, record_info(fields, nrf_ref)}])).
  %% @hidden
  create_table1(Table, {atomic, ok}) ->
  