QA-4840: Add top story expiration date clause in query