Removed debugs, fixed roomnumber constant, removed escaping function from query