Fixes #23 Check for values when doing ajax request. If null don't add param to ajax param's.