Added check for pastes without titles.