Now handles empty table-valued-parameter input. Fixes #54