Fix usage of optional<T const&>.
The called getPropertyVector<T>()
did not return an optional to a const reference (there are two versions of that function), but an optional<T&>
.
With boost 1.61 this conversion is no longer possible.
Fixes #1383 (closed)