Re-add if statement

It was necessary to prevent blank bubbles.