Not loading more keys from mapstore than specified in max size policy (maintenance)

Not loading more keys from mapstore than specified in max size policy. #3723