Helper function for org-mode agendas

From http://stackoverflow.com/questions/10074016/org-mode-filter-on-tag-in-agenda-view