Making numLoop perform no action when start is greater than end

For more details, see #3.