Fix for issue #310.

Additionnal query conditions are now added to the main query (in EloquentStatementRepository::addParameters) when related_activities is on.
Merge pull request #355 from lampyridae/master

Fix for issue #310.