Add query for getting cases that has several issues
Dates are now actual dates in the db, not strings
This will be used in queries showing the "nostot" and etc