Number(undefined) resolved to NaN instead of false
Fix doubleclick template/resume actions