fixed release max attribute to be compatible with 2.5.1 and greater
Merge pull request #91 from bzerangue/patch-1

fixed release max attribute to be compatible with 2.5.1 and greater