[BUGFIX beta] add assertion against dynamic {{input type}}

Closes #5047