I am a huge Harry Potter fan but the writing is anything but neat and tidy.
There are a ton of holes in the Harry Potter universe. JK Rowling is an amazing story teller and an unbelievably creative writer, but Charles Dickens or Jane Austen she is not.