Actually filter out keys properly