Fixed an issue with removing the first item