https://hibernate.atlassian.net/browse/HSEARCH-1553