Fix bug that was showing archived items in search results when it shouldn't have been