Fixed some bugs found on Stop Incline test.