Updated to match new assembly variables
Reinstated date-checking code, and added check for assembly name/version changes, in case of human error in populating the core databases