Fixed: Strange tree view in complex tree of queues (bug#10750).
Squashed commit of the following:

commit bb588264b551803ddba581ec3b02c51b0724dff6
Author: Norihiro Tanaka <noritnk@kcn.ne.jp>
Date:   Tue Sep 23 16:09:08 2014 +0900

    Fix bug#10750