Revert "Refactor primitive matching to use simpler equivalent statement"

This reverts commit c8a2f0b2f9db45b16982080309edbdf48d6b8080.

* This exposed a bug in JRuby
Bump version to 0.0.4