fixed warning when uninintialised $self->{lastrun}
fixed the _monitor_hostgroupdetails