Fix return when there is no fragment found.