After double-checking my code, it turns out I'm wrong and this is indeed a bug. Thank you for reporting.
XDDDDD