prevent inner-select because it brakes on mysql.
in rails3.1 active record uses inner select where previuos versions
prefered two queries.
Because mysql does not support limit in inner select, I am forcing two
queries.