The 2015 death of Elis Kurniasih, awaiting her work visa before beginning employment, exposed grey areas and legal loopholes in the Employment Agency Regulations; Kurniasih was crushed to death by falling masonry at an agency boarding house in North Point. Worker protections against illegal fees, unsanitary accommodations and lack of insurance were criticised as inadequate. Under the Immigration Ordinance a foreigner may be eligible to apply for permanent residency after having "ordinarily resided" in Hong Kong for seven continuous years, and thus enjoy the right of abode in Hong Kong. However, the definition of "ordinary residency" excludes (amongst other groups) those who lived in the territory as foreign domestic helpers; this effectively denied foreign workers the rights of permanent residents (including the right to vote), even if they had lived in Hong Kong for many years. Since 1997, section 2(4) of the Immigration Ordinance has stated that "a person shall not be treated as ordinarily resident in Hong Kong while employed as a domestic helper who is from outside Hong Kong". In 2011, the issue of foreign workers applying for Hong Kong residency was debated; since one million families live under the poverty line in the territory, some political parties argued that Hong Kong has insufficient welfare funding to support 300,000 foreign workers if they can apply for public housing and social-welfare benefits. The Court of First Instance found in "Vallejos v Commissioner of Registration" that this definition of "ordinarily resident" contravenes Article 24 of the Basic Law. The latter stipulates, "Persons not of Chinese nationality who have entered Hong Kong with valid travel documents, have ordinarily resided in Hong Kong for a continuous period of not less than seven years and have taken Hong Kong as their place of permanent residence before or after the establishment of the Hong Kong Special Administrative Region", feeding speculation that domestic helpers could obtain the right of abode. An appeal was made to the Court of Appeal of the High Court, which overturned the judgment of the Court of First Instance. The plaintiffs then appealed to the Court of Final Appeal, which ruled against them in a unanimous judgment. The government requires foreign domestic helpers to leave Hong Kong within two weeks of the termination of their employment contract, unless they find another employer (the two-week rule). According to Hong Kong Human Rights Monitor, this is a form of discrimination against foreign domestic helpers (who are almost all Southeast Asian); this limitation is not enforced for other foreign workers. The two-week rule has been condemned by two United Nations committees: the Committee on the Elimination of Discrimination Against Women and the Committee on Economic, Social and Cultural Rights.