The -d flag of scom lets users set how many days back in the job history to query for. This boils down to a call of sacct -S now-Ndays (other flags omitted) where N is what was passed with -d. The start time specifier supports other ranges and units of time which might be useful for the user, additionally there is also the -E flag (i.e. endtime) which can be combine with -S to create an arbitrary time range to query for job history.
I propose adding the options to set parameters for both flags through the TUI (maybe a pop up box?).