stopped debug output and fixed the get purchases query date limiter