Fix bug in reddit bot