Minor fixes in JdbcDao