The issue likely isn't directly related to onBackPressed. It's in your adapter and the data provided to it. Please post the code for your RecyclerView adapter.
Also, if you're using a ViewModel with LiveData or Rx streams providing the data to the list, that would also be helpful.