Fixes for behavior with empty HTML fields.