fixed #15 checks for parameters of primitive types and handles them correctly
Merge branch 'bug/15-searchparameter-primitive' into dev