Fixing a redirect condition when coming in from twitter/fb