Date conditions fixed for MLS queries