mds-kbdc: fix permutation generation

Signed-off-by: Mattias Andrée <maandree@operamail.com>
mds-kbdc: value statement stuff

Signed-off-by: Mattias Andrée <maandree@operamail.com>
mds-kbdc: fix nesting inside unordered

Signed-off-by: Mattias Andrée <maandree@operamail.com>