Handle case where no flag is set https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3602166&group_id=17457