Finally fixed and tested get_tweeted

Fixed what is probably the last bug in this function. The bot should be
functional now.