Fixed the blatantly silly error with deleted attachments after viewing.