BUG #3282: Added ability to subselect with in left or inner join

Remove string that by default wraps a join table in quotes causing an issue if you need to sub-select as a join table.

Raised issue in forum, as here is PR - http://www.silverstripe.org/data-model-questions/show/66002
Indentation should use tabs, not spaces.