Fixes the broken API methods which didn't filter by semester

1 job for fix-api in 2 minutes and 51 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #7957
test

00:02:51