Fixed using of unary operators with default parameters

Fixes #1322