Convert cadre_id to number before comparing with id in specialty list.