Fixed bug with not using url aliases