Only pay attention to the release number when checking if a template needs upgrading

Ticket: #4169
Disable proper fields under proper conditions for existing jails

Ticket: #2528