Fixes crashing in naming conventions rule, resolve #16