change to get only active request
Merge pull request #5423 from ticoann/fix_reqmgr_query

change to get only active request