Fix bug with relation saving and fix whitespace
Improve debugging and fix whitespace
Fix URL redirection after entity form submission