2.1.1: Merge pull request #259 from HSF/dev
fix orm messages by updating session.query.filter_by to session.query.filter, to avoid parameters passed wrongly.
fix orm messages by updating session.query.filter_by to session.query.filter, to avoid parameters passed wrongly.