Fixed bug with selecting groups of fields per patient. Fixed legacy padding (0s) issue.