Cleanup booking code
Add template filter 'str in list'