Update tivwp-sanitize-redirect.php

Wrong if() position