Fixes issue with maxSize property