BAM: fix BA state detection when computing inherited downtimes.
BAM: fix BA state detection when computing inherited downtimes.

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker