Fixed an issue where string value was compared instead of size.