Fixed bug for favorite listing in model as well as ajax call