Connect function on :remote not properly dealing with arguments.