Some fixes after category url was introduced.