I'm using WP_Query and passing pagename as a parameter. If pagename doesn't exist the query results returns all the pages from the site. Is this a bug or is it suppose to work like this? I'd think that there would be no results if the pagename wasn't found.