Fix filtering issue causing whitespace swallowing.
Fix filtering issue causing whitespace swallowing.

+ Filter to remove empty constraints should be applied
  on display only.
+ Remove unwanted `console.log`.

rwahs/research-frontend,rwahs/research-frontend