Added function getAllWithLastChange