Reenabled periodic database check

Reenabled periodic database check