Select items for category query failed