Fix #1244

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>