Minor update to check db version number