Fixed a bug where the catalog ignored url rewriting settings