Carpet blocks path between enchanting table and bookshelves.
Having carpet on the floor between a bookshelf and an enchanting table closes the 1 block air gap, meaning the bookshelves do not raise the level of enchantment available. A 2 layered bookshelf will be be blocked completely by one piece of carpet. This probably should not occur.