Fixed recent orders query
Merge pull request #190 from Bladrak/recentOrdersFix

Fixed recent orders query