Minor bug fix for href processing.