Fixed: Manual Generic Agent Run doesn't show archived tickets as affected (bug#10596).
Squashed commit of the following:

commit ce4aaf6fc40d2e0991375202433ee9000c879991
Author: s7design <otrs@s7designcreative.com>
Date:   Thu Jul 3 17:22:24 2014 +0200

    http://bugs.otrs.org/show_bug.cgi?id=10596

    Fixed display in generic job for archived ticket