changed problem repository to query active problems only