Merged #173 "Fix MigrateTickets failure for view-restricted repositories"
Fix repository deletion bug where the Lucene ticket index was not purged
Merge branch 'ticket/174' into develop