Version 3.1.4: Undefined index notice for text_before and text_after variables fixed