Returning an array from getValue() causes issues with getSelected