Fixes for b2evolution 5
Better compatibility with older versions