Fixed bug when arg==0 (issue #1886)
Changed backup_retention_period type to int (as in AWS doc). Tests updated.