Fix LegacyIssuesToWorkPackages for AR API change

 #select_all returns a ActiveRecord::Result.

Signed-off-by: Alex Coles <alex@alexbcoles.com>