Fixed issues in the F4 menu that arise when there is no available job to switch to.