Claiming R&D tax credits requires careful attention to detail