Added check for pastes without titles.

Added check for pastes without titles