Added missing bracket in mysql querry.