fix bug in sql join, optimize items loop, get week by week date queries fixed. @todo fix bug with unchecking tags