Algeria upholds prison terms for Ahmadi sect members