Fixed issue #2309: [Show log of aaaa..bbbb] on sub directory shows logs on root directory

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>