Fixed a bug with the href not matching