Force the filter to return an array at all times to ensure the look-up using index works properly

Force the filter to return an array at all times to ensure the look-up using index works properly

Signed-off-by: Chris Harding <chris.harding@citrix.com>