Bugfix: Changed JOINS to LEFT JOINS