Fix for server error in accessing old datasets when there is a new dataset schema. This also fixes bug#27.