Fixes a bug when the field has been configured with eager fielddata loading, the fielddata is not being loaded.

Closes #5557
Fixed space in licence header.