Attachment should be delete as per we did,, 
Here we got a first attachment delete, if we will delete any attachment...

like, we add 5 attachment no. 1,2,3,4,5 and then we remove attachment no.3 then attachment no.1 will delete instead of attachment no.3...