Clean data rather than reject to fix ticket #31. Should do validation in JS, this fixes the problem the wrong way