Fix key detection for ListLocalMarks