fix the bug that may join the same model multiple times
Merge branch 'master' of https://github.com/xiechao06/Flask-DataBrowser