Fixed a bug in remove--had forgotten to decrement min&maxSize