Fix/#260

Bug fix: [no]
Feature addition: [yes]
Backwards compatibility break: [yes]
Phpspec specification passes: [yes]
Checkstyle issues: [no]
ChangeLog updated: [yes]
Fixes the following issue: #260