Made the max results and a href bug fix.

SD-64 : make it work with new api

Made the max results and a href bug fix.