only show open tickets on /t; fix bug in project comment sql code