1.2 API getPageTitles Error

I’m having a problem with the API getPageTitles

This works:

module=API
method=Actions.getPageTitles
idSite=1
period=week
date=today
filter_sort_order=desc
filter_limit=15
format=JSON
token_auth=$tkn

But, if you change date to keyword ‘last4’, it gives the following error:
“Column avg_time_on_page already in the array!”

This is def a bug. I added it to the existing related bug report: Custom DataTable code fail when date=lastX or previousY · Issue #2133 · matomo-org/matomo · GitHub - thx for the report

This bug was fixed in trunk, if you could test with Piwik SVN it would be great, thanks!