MOD: parsing operations for cohort expressions
FIX: fixed query for data in threshold metric (removed redundant timestamp condition in query). Set survival results to data set
FIX: global references defined for instances running via mod_wsgi