Reworked conditionals to avoid extra operations
Fix for issue #247 - Warning in skip when not specifying $how_many