Fix key detection for ListLocalMarks

Trailing spaces within key detection made it very annoying to override default mapping for this specific key.