Wrong priority between the ! operator and function calls

Fixes #324
The issue was probably introduced in 205ac03ad20b7ce9ae580f925ddfeb877fe2c08c