mds-kbdc: minor bug fixes

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