Wrong query results?

Sorry for the post, it works now.