RSM implementation now properly setting the 'next' flag to None if there are no more objects