Changing %EffDtCheck meta-sql; previous one was too restrictive with the date bound parameter, and also made subquery alias optional.