this is the backend
this is the bug fixes of the exclude studies condition