Semi-revert 2bfe7e35e38, use .blank? instead of .length == 0

The commit was not completely reverted, I just removed from logic because of the validations that will prevent the cases from being possible.  Therefore, it will be a few milliseconds faster.