#451 LIS and query 2