Bug/224

Fixes bug described in https://github.com/telefonicaid/fiware-orion/issues/224.