anchor.diff:  		#char_value_use{values = [#char_value{value = TariffTable}]} ->
   			Table = list_to_existing_atom(TariffTable),
   			case catch ocs_gtt:lookup_last(Table, Address) of
  -				{_Description, Amount, _} ->
  +				{_Description, Amount, _} when is_integer(Amount) ->
   					case Amount of
   						N when N >= 0 ->
   							authorize4(Protocol, ServiceType, Service, Buckets,
  
positive.code: 				when RoamingTable == undefined ->
  			Table = list_to_existing_atom(TariffTable),
  			case catch ocs_gtt:lookup_last(Table, Address) of
  				{Description, Amount, _} ->
  					case Amount of
  						N when N >= 0 ->
  							rate5(Protocol, Service, Buckets,
  
negative.code: 				{_, _, _Description, TabPrefix} ->
  						Table2 = list_to_existing_atom(TabPrefix ++ "-" ++ TariffTable),
  						case catch ocs_gtt:lookup_last(Table2, Address) of
  				{Description, Amount, _} when is_integer(Amount) ->
  							{Description1, Amount, _} ->
  								case Amount of
  									N when N >= 0 ->
  