Fix bug with "and" operation. Add HTML table