#2174 Limiting attachments to 0 doesn't do what is expected