Fix comparison of url Rewriting