If you followed Interactive Upgrade Guide to upgrade from 6.0.3 to 6.0.6, there is a step to do "Rebase TRS and reindex Requirements Management data sources", you may follow the procedures to do rebase and reindex for QM Resources and see if the error would be gone.