No individual who becomes a beneficiary shall be employed by the city in any capacity. Subject to the provisions of section 14361 (relating to right to a pension if salary refused), nothing in this section shall be construed to prohibit an individual who becomes a beneficiary from serving in an elective city office.