Fix with_versions scope

this revert scope changed on 960794ed6b78674ef85a913fdc358825f809ddae .
The query is not the same, and it is resulting to show duplicates gems in the dashboard.

r. @dwradcliffe