Fixes #12: undefined method merge! for conditions with raw sql