Fix for issue #1333

Extrafields array is created in functions preventing cache creation