Fixed bug in Array DAO when both limit/position and query specified.
Fixed bug in Array DAO when both limit/position and query specified.

osric-the-knight/foam,jlhughes/foam,shepheb/foam,jlhughes/foam,osric-the-knight/foam,foam-framework/foam,jacksonic/foam,shepheb/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,osric-the-knight/foam,jacksonic/foam,mdittmer/foam,jacksonic/foam,mdittmer/foam,foam-framework/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam,osric-the-knight/foam,mdittmer/foam,shepheb/foam