add filter for assigned-to-other and unassigned
fix type of several flags to be bool