Fixed raidapi limit

Limit is now handled by a subselect (correct limit and offset)
Added desc flag