Fix a small error causing the end of ads to not be blocked.

(Additional diffs due to trailing whitespaces).

Signed-off-by: JP-Ellis <coujellis@gmail.com>