While working on FREEPBX-7795 I discovered this other bug