Fixed bug with friendly URL helper