A.F....... [ZBX-8928] Changed last() function in macros to rely on lastvalue from item API in graph and map labels, eliminating the call to History API.