Fixed problem with record cache and schema/diagnostics not being