Bug fixes wrt detailpage stuff.