Removed quotes and square bracket from post output with preg_replace() and str_replace().
Need more work for below changes.
Also modified the tours query for the dashboard to include another join which fails.