[frontend] task queue sorting fix
[frontend] bugfix: context_processor shouldn't return None