sorry, this can be closed, the problem was related to a different custom module on our site.
Closed: works as designed
2.2
Code
No worries :)