CORE-1071 - Fixed the pagination issue for get class item API