fixing the busted sf_filter check on canonical urls