On decidability of recursive weighted logics