Added additional check inside async block

Sometimes when hiding messages too quickly, objectAtIndex returned
outside bounds error