Fixes #1156: action parameter binding now checks for array type.