{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/6979","repository_url":"https://api.github.com/repos/neo4j/neo4j","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/6979/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/6979/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/6979/events","html_url":"https://github.com/neo4j/neo4j/issues/6979","id":149473862,"number":6979,"title":"Neo4j 2.3.3: min/max doesn't work with strings in one edge case","user":{"login":"rsk700","id":816292,"avatar_url":"https://avatars.githubusercontent.com/u/816292?v=3","gravatar_id":"","url":"https://api.github.com/users/rsk700","html_url":"https://github.com/rsk700","followers_url":"https://api.github.com/users/rsk700/followers","following_url":"https://api.github.com/users/rsk700/following{/other_user}","gists_url":"https://api.github.com/users/rsk700/gists{/gist_id}","starred_url":"https://api.github.com/users/rsk700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsk700/subscriptions","organizations_url":"https://api.github.com/users/rsk700/orgs","repos_url":"https://api.github.com/users/rsk700/repos","events_url":"https://api.github.com/users/rsk700/events{/privacy}","received_events_url":"https://api.github.com/users/rsk700/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T14:15:48Z","updated_at":"2016-04-19T14:15:48Z","closed_at":null,"body":"In some cases min/max refuses to work with string values\r\n\r\n**Neo4j Version:** 2.3.1/2.3.3 \r\n\r\n### Steps to reproduce\r\n```\r\nunwind(['a', 'b']) as v return max(v)\r\n\r\nType mismatch: expected Float or Integer but was String (line 1, column 37 (offset: 36))\r\n\"unwind(['a', 'b']) as v return max(v)\"\r\n```\r\n\r\nwhile it works with node collection property:\r\n\r\n```\r\ncreate (n:somenode{v: ['a', 'b']}) with n unwind(n.v) as v return max(v)\r\n\r\nmax(v)\r\nb\r\n```"}}