fixed filtering for numbers and booleans when not given for submission