Added 'DATE' datatype
Fixed bug with index page size calculation