Fix soft delete for Ticket.byVisibilities(...)

It must not return tickets for soft deleted visibilities