Fixed notice when there is no order by clause
Merge pull request #1 from carnage/master

Quick little fix for a notice generated when there's no order by clause