Fixes nullptr dereference (regression by commit df5f9f4a).
Attach a file by drag & drop or click to upload