Fixed an issue with return precedence

Closes #32
Updated Elastic::Model to work with Elasticsearch::Compat