Model.maximum returns max value of a column! Fixed