fix: Unsupported operand types on flags hash table