Simplifies session:query() logic.
Simplifies session:query() logic.

emilyemorehouse/flask-restless,dan-compton/flask-restless,dan-compton/flask-restless,dan-compton/flask-restless,ternaris/flask-restless,iceone/flask-restless,jkatzer/flask-restless,donovan-graham/flask-restless,jkatzer/flask-restless,jfinkels/flask-restless,jwg4/flask-restless,mayuroks/flask-restless,iceone/flask-restless,CommonsCloud/CommonsRestless,ternaris/flask-restless,ternaris/flask-restless,donovan-graham/flask-restless,victorliun/flask-restless,jkatzer/flask-restless,quiqua/flask-restless,donovan-graham/flask-restless