Fixed parsing of `track_scores` in `RestSearchAction`

Closes #2986
Merge pull request #3009 from chilling/issue2986_scores

Fixed parsing of track_scores in RestSearchAction