Error with API v1 get users comments

Fixed object type not being cast to string and causing an issue with SQL.