Fix redis key of task maxid