That is an error, I suggest you keep that change in including the casting to (int) for skip and limit