Fixes #87 adding join before db loading begins