Fixed remaining offences (not in todos)
Add parenthesis back in that caused failing build
Merge pull request #1931 from sferik/kad-rubocop_2

Fixed remaining offences (not in todos)