make SELECT SQL work with SQLite as well as MySQL
added My Issues status filter checkboxes