Fixed bug in argument of Time Intelligence functions

Time intelligence functions can accept a table expression – VAR/RETURN was not accepted. The bug was affecting also FIRSTNONBLANK and LASTNONBLANK. Fixed now.