Fix for inverting the default range 0:HEAD