Made sure arraylist sets the size of an inherited collection