Hello again,
try to LOG the OUTPUTS by using CONSOLE.LOG.
Then you will be able to see what you are doing, respective what is doing your CODE.
What do you get if you log this one in the CONSOLE?
console.log(currentPage)
What is the OUTPUT? What did you get? An String? A Number? An Object? Something else?
Maybe it will be an OBJECT.
So if you got no ERROR and instead of it got some data, so it’s a good sign, the code works.
This is how to work with “.getCurrentItem”…
As you can see in this example, it is also shown, what are the RESULTS if you run this pice of CODE. And take just a closer look!
It is even marked as OBJECT in the example! 
/* itemObj:
*
* {
* "_id": "fcec780a-3e37-4b64-8a66-37c552c53f99",
* "_owner": "f6c0f9c3-a62d-7e9f-g58d-943829af244d9",
* "_createdDate": "2017-05-01T17:19:03.823Z",
* "_updatedDate": "2017-05-01T17:19:10.477Z",
* "title": "Dr. ",
* "name": "B",
* "link-dynamic-name": "/myCollection/B"
* }
*/
Ok, you see all these RESULTS here now ask yourself, “how do i get this results”?
Did you ask yourself this question just right now? Don’t lie, you did, i know it xDDDDDDDD.
Ok and here you can see now, how to get these RESULTS. The magic of CONSOLE.LOG. It will be something like this…
console.log(itemObj._id)
console.log(itemObj._owner)
console.log(itemObj.createdDate)
console.log(itemObj._updatedDate)
console.log(itemObj.title)
console.log(itemObj.name)
…and so on.
And here you will get informations how to work with dataset.FILTER…