You can still claim the 5000 according to the treaty. refer to the example on P519 page 50. www.irs.gov/pub/irs-pdf/p519.pdf