fixed crash when cover photo id exists but it isn't an attachment