ComposeTweetWindow: Don't crash on UP and empty completion list

Apparently, modulo with 0 generates a division by zero, so we need
to check first if n_results is 0 and back out in that case.

See #166