Getting hosts via API with thin=true returns wrong subtotal value
When querying about hosts via API and using this=true the API returns wrong subtotal count. This happens when the query matches more records than what is the current per_page setting.
Search for "*" on 30 hosts in total with per page being 5 will result in:
results: [5 hosts...] per_page: 5 total: 30 subtotal: 5
In this example the expected result is subtotal being 30.
The issue is caused by calling `pluck` on the original active record relation when thin=true is used.