Fix #345

Signed-off-by: Matt White <matthew.white@fclonline.com>