Added a space to query join