Correcting querys and attributes from BookDAO