In UnderminerDatabase moving the iterator to a getter. This will allow
us to get the appropriate iterator for the current state of the DB.
Also, removes a warning.