Fix for #10962: Handle NotFoundException thrown by getSessionFromKeyword()