Seventeen officials detained in Baghdad