Fix query filter in volume_get_active_by_window()

Fixes LP bug #1131320

Change-Id: Iec51ecbe49a76e3a5b7374b04f20949c77c52984
Merge "Fix query filter in volume_get_active_by_window()"