Religious clash averted as city police arrest dozens of activists