Fix EndAt and StartAt and slicing out of key ranges