MySQL Error: Unknown column 'rented' in 'where clause'