[BUGFIX] Fixed hideIfEmpty argument. It was not used in code.