[Core] Cleaned up a little code in the dungeon finder, found and
corrected a very probable source of the finder crashing the server!