Gradebook Filter by term results in error

Hi folks,

I believe this is a duplicate of the following discussion:

Kind regards,
Roman