Fixing null pointer exception caused when lastName is nul (#209)