WP-2942: remove extra spaces after by label.