If memory serves me correctly, underlayment should not be secured to the joists. However, the hardwood should be secured to the joists when possible.
I don't recall the reasoning behind this, it's been 3 years since I installed 2200 sq ft of flooring in my house.
Check out...