Fixing compatibility with latest Eloquent changes.

Awaiting merge of https://github.com/illuminate/database/pull/105.

Signed-off-by: Ben Corlett <bencorlett@me.com>