fix vm query for admin when appliance filter is used

Fixes #18