Add log for debug.
Fix condition for reddit.