fixed server side exam submission time validation

- small bug where once time is up, if in deadline mode, timer doesnt
pause