Added database to query from. NOW WILL IT WORK? Hopefully.