..F....... [ZBX-8471] Simplify code. Rename $step to $key to prevent confusion.