Is this a valid way to select all messages? Maybe only the most recent messages are stored in the `messageRecordCache`.