Don't include new jail in id check

Ticket: #5245