COR-332: Fixed the issue with the slide order
COR-332: Add a unit test to test the limit