Exception in search functionality

Changed casting from Int to Double for country budget when country with 'max country budget' was searched, although I haven't found any use of the resultant country.
This `val` is redundant as it is neither marked as implicit nor passed into the return of the function.  It can be removed.