Russian security thwarts a terrorist plot in Dagestan