Empty array after mismatch fix

Quick fix for #13. Im not sure its perfect tho, but tests are passing.