update spec to reflect proper reason for changes
build query with array, not string
refactor & fix to match existing behavior