Removed unused line.
Extra check to avoid sending false to url helper.