Wasn't working correctly when using both step and span parameters