Queen notation was initialized wrongly. Probably because of copy-pasting same parts of code. Currently 'N' & 'n' instead of 'Q' and 'q'.
Trivial fix of the bug.