Fix: getPlayed method not returning good values

Just a really small fix for the getPlayed method which doesn't return good values at all.
I've been using that fix for months, I forgot to send a patch.