JFG-532

Check types of columns in DB and log warning if they don't match