Make sure date trunc works with an alias