Fixed an incorrect line number in multi-line group selectors. Closes #1366