Fix case with no middle name

If no middle name is given, the program returns an error. This pull request allows referencing of works where the author has not provided their middle initial.