Linda Kerns, an attorney for the Philadelphia Republican Party, filed a complaint three weeks ago alleging that Ramirez, who was handpicked by ward leaders in January to replace convicted former State Rep. Leslie Acosta, did not meet the residency requirements to run in the race.