Mismatch between GenFunction & FunctionData.

Find if GenFunction and FunctionData relations make no sense and if so regenerate

Edited by Paul Lovis Maximilian Trüstedt