Adding "type"  property in States result route
Bug fixing in result paging. pageCount was incorrect