1.8/develop

Query is called by find methods, which put the condition in the query. I think those functions limit the primary key check, so the temporal condition is added depending on primary key checking.