Never mind, I figured out what was happening. The "set grouping at startup" was checked in the menu, and it was trying to group data using a custom column that wasn't indexed in the drawer, so it was always trying to go to that instead of the last opened one.
Sorry for the confusion, thank you all!