Fix bug with processing query values of 0
Bump version to 0.5.1